﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using K9Nano.IM.Models;


namespace K9Nano.IM.Chat.ViewModels.ChatAppVMs
{
    public partial class ChatAppTemplateVM : BaseTemplateVM
    {
        [Display(Name = "名称")]
        public ExcelPropety Name_Excel = ExcelPropety.CreateProperty<ChatApp>(x => x.Name);
        [Display(Name = "秘钥")]
        public ExcelPropety Secret_Excel = ExcelPropety.CreateProperty<ChatApp>(x => x.Secret);
        [Display(Name = "客户信息地址")]
        public ExcelPropety CustomerInfoCallback_Excel = ExcelPropety.CreateProperty<ChatApp>(x => x.CustomerInfoCallback);
        [Display(Name = "订单地址")]
        public ExcelPropety CustomerOrderCallback_Excel = ExcelPropety.CreateProperty<ChatApp>(x => x.CustomerOrderCallback);

	    protected override void InitVM()
        {
        }

    }

    public class ChatAppImportVM : BaseImportVM<ChatAppTemplateVM, ChatApp>
    {

    }

}
